package com.example.demo.entity;

import lombok.Data;
import java.util.Date;

@Data
public class Comment {
    private Long id;
    private Long userId;
    private Long postId;
    private Long parentCommentId; // 父评论ID，用于二级评论
    private String content;
    private Date createdAt;
    private Date updatedAt;
}
